<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">  
		<title></title>
		<script src="rem.js"></script>
		<style type="text/css">
			*{
				padding: 0;
				margin: 0;
			}
			p{
				width: 100%;
				font-size: 0.1rem;
				line-height: 1;
				background: red;
			}
			.aaa{
				width: 10rem;
				height: 10rem;
				background: #ccc;
			}
			
		</style> 
	</head>
	<body>
		<p>375px 设计图，1rem = 10px</p>
		<div class="aaa">0000</div>
		<hr>
		<div class="aaa" style="width: 100px;height: 100px;"></div>
		
	</body>
</html>
